package com.juyu.miliao.common.constant;

import java.time.LocalDate;

/**
 * @author xuanqicheng
 */
public class SuccessReleaseOfADynamicConstant {
    public static final long MAX_VALUE = 5;

    private static final String SUCCESS_RELEASE_OF_A_DYNAMIC_EXIST_USER_ID_KEY =
            "SUCCESS_RELEASE_OF_A_DYNAMIC_EXIST_USER_ID:";

    private static final String INTEGRAL_SUCCESS_RELEASE_OF_A_DYNAMIC_BY_USER_ID_KEY =
            "INTEGRAL_SUCCESS_RELEASE_OF_A_DYNAMIC_BY_USER_ID:";


    public static String getSuccessReleaseOfADynamicExistUserIdKey() {
        return SUCCESS_RELEASE_OF_A_DYNAMIC_EXIST_USER_ID_KEY+ LocalDate.now().toString();
    }

    public static String getIntegralSuccessReleaseOfADynamicByUserIdKey(long userId){
        return INTEGRAL_SUCCESS_RELEASE_OF_A_DYNAMIC_BY_USER_ID_KEY+LocalDate.now().toString()+userId;
    }


}
